aarch64-cpu
Low level access to processors using the AArch64 execution state.
This project is developed and maintained by the Cortex-A team.
Documentation
Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile on current stable Rust. It might compile with older versions but that may change in any new patch release.
Usage
Please note that for using this crate's register definitions (as provided by
aarch64_cpu::registers::*
), you need to also import
aarch64_cpu::registers::{Readable, Writeable}
.
Example
Check out https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials for usage examples. Listed
below is a snippet of rust-raspberrypi-OS-tutorials
's early boot code.
use ;
// Some parts omitted for brevity.
unsafe
Disclaimer
Descriptive comments in the source files are taken from the ARM Architecture Reference Manual ARMv8, for ARMv8-A architecture profile.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Code of Conduct
Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the Cortex-A team, promises to intervene to uphold that code of conduct.